<!DOCTYPE HTML>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
	<form class="form-horizontal m" id="form-scores-edit" >
		<input id="id" name="id"th:value="${scores.id}"  type="hidden">
			<div class="form-group">
			<label class="col-sm-3 control-label">考试号：</label>
			<div class="col-sm-8">
				<input id="ksid" name="ksid"th:value="${scores.ksid}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">考号：</label>
			<div class="col-sm-8">
				<input id="uid" name="uid"th:value="${scores.uid}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">成绩：</label>
			<div class="col-sm-8">
				<input id="score" name="score"th:value="${scores.score}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">得分一：</label>
			<div class="col-sm-8">
				<input id="score1" name="score1"th:value="${scores.score1}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">得分二：</label>
			<div class="col-sm-8">
				<input id="score2" name="score2"th:value="${scores.score2}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">得分三：</label>
			<div class="col-sm-8">
				<input id="score3" name="score3"th:value="${scores.score3}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">得分四：</label>
			<div class="col-sm-8">
				<input id="score4" name="score4"th:value="${scores.score4}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">得分五：</label>
			<div class="col-sm-8">
				<input id="score5" name="score5"th:value="${scores.score5}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">得分六：</label>
			<div class="col-sm-8">
				<input id="score6" name="score6"th:value="${scores.score6}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">得分七：</label>
			<div class="col-sm-8">
				<input id="score7" name="score7"th:value="${scores.score7}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">试卷路径：</label>
			<div class="col-sm-8">
				<input id="paperurl" name="paperurl"th:value="${scores.paperurl}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">试卷加密数据：</label>
			<div class="col-sm-8">
				<input id="paperdata" name="paperdata"th:value="${scores.paperdata}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">完成次数：</label>
			<div class="col-sm-8">
				<input id="donum" name="donum"th:value="${scores.donum}" class="form-control" type="text">
			</div>
		</div>
				<div class="form-group">
			<label class="col-sm-3 control-label">评判时间：</label>
			<div class="col-sm-8">
				<input id="jjtime"  name="jjtime"th:value="${scores.jjtime}" class="form-control time-input" type="text">
			</div>
		</div>
		</form>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript">
	var prefix = ctx + "exam/scores";
	$("#form-scores-edit").validate({
		onkeyup: false,
		rules:{
			xxxx:{
				required:true,
			},
		}
	});

	function submitHandler() {
		if ($.validate.form()) {
			$.operate.save(prefix + "/editDo", $('#form-scores-edit').serialize());
		}
	}
</script>
</body>
</html>
